<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/4/5
 * Time: 11:21
 */
namespace app\wechat\controller;
class Play extends Base{
    public function play(){
        $openid = cookie('openid');
        $user_info = self::getUserInfo("openid = '{$openid}'",'uid,type,username,openid,nickname');
        return view('play',['user_info'=>$user_info]);
    }
}